package com.ruoyi.system.api;

import com.ruoyi.system.api.factory.RemoteTestFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@FeignClient(contextId = "remoteTestService",name = "ruoyi-file",fallbackFactory = RemoteTestFallbackFactory.class)
public interface RemoteTestService {

    @GetMapping("/api/test")
    public String getInfo();
}
